<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>集团火电机组冷端优化系统</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* 设计规范变量 */
        :root {
            /* 颜色规范 */
            --primary-bg: #0f172a;       /* 主背景色 */
            --secondary-bg: #1e293b;     /* 次要背景色 */
            --card-bg: #1a2435;          /* 卡片背景色 */
            --accent: #5eead4;           /* 强调色 */
            --accent-hover: #88f3e2;     /* 强调悬停色 */
            --text-primary: #e2e8f0;     /* 主要文字色 */
            --text-secondary: #94a3b8;   /* 次要文字色 */
            --border-color: #334155;     /* 边框色 */

            /* 间距规范 */
            --spacing-xs: 4px;
            --spacing-sm: 8px;
            --spacing-md: 16px;
            --spacing-lg: 24px;
            --spacing-xl: 32px;

            /* 圆角规范 */
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 12px;

            /* 阴影规范 */
            --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.2);
            --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.25);
            --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.3);
            --shadow-accent: 0 0 8px rgba(94, 234, 212, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        body {
            background: var(--primary-bg);
            color: var(--text-primary);
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
            background-image:
                    radial-gradient(circle at 10% 20%, rgba(30, 41, 59, 0.6) 0%, transparent 25%),
                    radial-gradient(circle at 90% 80%, rgba(94, 234, 212, 0.08) 0%, transparent 25%);
        }

        /* 科技感背景效果 */
        .background-effects {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .grid-lines {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                    linear-gradient(rgba(94, 234, 212, 0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(94, 234, 212, 0.1) 1px, transparent 1px);
            background-size: 40px 40px;
            opacity: 0.4;
        }

        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .particle {
            position: absolute;
            background-color: rgba(94, 234, 212, 0.6);
            border-radius: 50%;
            animation: float 15s infinite linear;
        }

        .scan-line {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(to right, transparent, rgba(94, 234, 212, 0.8), transparent);
            box-shadow: 0 0 10px rgba(94, 234, 212, 0.8);
            animation: scan 6s infinite linear;
        }

        /* 主登录容器 */
        .login-container {
            width: 420px;
            background: rgba(26, 36, 53, 0.7);
            border: 1px solid rgba(94, 234, 212, 0.3);
            border-radius: var(--radius-md);
            backdrop-filter: blur(10px);
            box-shadow: var(--shadow-lg);
            padding: var(--spacing-xl) var(--spacing-lg);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(transparent, rgba(94, 234, 212, 0.5), transparent 30%);
            animation: rotate 6s linear infinite;
            z-index: -1;
        }

        .login-container:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-accent);
        }

        /* 标题样式 */
        .system-title {
            text-align: center;
            margin-bottom: var(--spacing-xl);
            position: relative;
        }

        .system-title h1 {
            color: var(--text-primary);
            font-size: 1.8rem;
            font-weight: 600;
            letter-spacing: 1px;
            margin-bottom: var(--spacing-sm);
            text-shadow: 0 0 10px rgba(94, 234, 212, 0.7);
        }

        .system-title h2 {
            color: var(--accent);
            font-size: 1.3rem;
            font-weight: 400;
            letter-spacing: 2px;
        }

        .system-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(to right, transparent, var(--accent), transparent);
            border-radius: 2px;
            opacity: 0.7;
        }

        /* 输入框样式 */
        .input-group {
            margin-bottom: var(--spacing-lg);
            position: relative;
        }

        .input-group label {
            display: block;
            color: var(--accent);
            font-size: 0.9rem;
            margin-bottom: var(--spacing-sm);
            letter-spacing: 1px;
            font-weight: 500;
        }

        .input-box {
            position: relative;
        }

        .input-box input {
            width: 100%;
            height: 50px;
            background: rgba(26, 36, 53, 0.7);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            outline: none;
            padding: 0 var(--spacing-md) 0 50px;
            font-size: 1rem;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .input-box input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.1);
        }

        .input-box i {
            position: absolute;
            left: var(--spacing-md);
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent);
            font-size: 1.1rem;
        }

        /* 按钮规范 */
        .login-btn {
            width: 100%;
            height: 50px;
            background: rgba(94, 234, 212, 0.2);
            border: 1px solid rgba(94, 234, 212, 0.4);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            font-size: 1.1rem;
            font-weight: 500;
            letter-spacing: 2px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            margin-top: var(--spacing-sm);
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-sm);
        }

        .login-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: 0.5s;
        }

        .login-btn:hover::before {
            left: 100%;
        }

        .login-btn:hover {
            background: rgba(94, 234, 212, 0.3);
            box-shadow: var(--shadow-accent);
        }

        .login-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            box-shadow: none !important;
        }

        /* 底部信息 */
        .footer {
            margin-top: var(--spacing-lg);
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.75rem;
        }

        /* 动画效果 */
        @keyframes rotate {
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes scan {
            0% {
                top: 0;
            }
            100% {
                top: 100%;
            }
        }

        @keyframes float {
            0% {
                transform: translateY(0) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 0.7;
            }
            100% {
                transform: translateY(-1000px) translateX(1000px);
                opacity: 0;
            }
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .login-container {
                width: 90%;
                max-width: 350px;
                padding: var(--spacing-lg) var(--spacing-md);
            }

            .system-title h1 {
                font-size: 1.5rem;
            }

            .system-title h2 {
                font-size: 1.1rem;
            }
        }
    </style>
</head>
<body>
<!-- 背景特效 -->
<div class="background-effects">
    <div class="grid-lines"></div>
    <div class="particles" id="particles"></div>
    <div class="scan-line"></div>
</div>

<!-- 登录主容器 -->
<div class="login-container">
    <div class="system-title">
        <h1>集团火电机组冷端优化系统</h1>
        <h2>系统登录</h2>
    </div>

    <div class="input-group">
        <label for="password">密码</label>
        <div class="input-box">
            <i class="fas fa-lock"></i>
            <input type="password" id="password" placeholder="请输入您的密码">
        </div>
    </div>

    <div class="input-group">
        <label for="auth-password">认证密码</label>
        <div class="input-box">
            <i class="fas fa-shield-alt"></i>
            <input type="password" id="auth-password" placeholder="请输入认证密码">
        </div>
    </div>

    <button class="login-btn">确认</button>

    <div class="footer">
        <p>© 2023 集团火电机组冷端优化系统 | 安全访问系统</p>
    </div>
</div>

<script>
    // 创建粒子背景
    document.addEventListener('DOMContentLoaded', function() {
        const particlesContainer = document.getElementById('particles');
        const particleCount = 50;

        for (let i = 0; i < particleCount; i++) {
            const particle = document.createElement('div');
            particle.classList.add('particle');

            // 随机位置
            const posX = Math.random() * 100;
            const posY = Math.random() * 100;
            particle.style.left = `${posX}%`;
            particle.style.top = `${posY}%`;

            // 随机大小
            const size = Math.random() * 4 + 1;
            particle.style.width = `${size}px`;
            particle.style.height = `${size}px`;

            // 随机动画延迟
            particle.style.animationDelay = `${Math.random() * 15}s`;

            particlesContainer.appendChild(particle);
        }

        // 添加简单的登录验证
        const loginBtn = document.querySelector('.login-btn');
        loginBtn.addEventListener('click', function() {
            const password = document.getElementById('password').value;
            const authPassword = document.getElementById('auth-password').value;

            if (!password || !authPassword) {
                alert('请输入密码和认证密码！');
                return;
            }

            // 简单模拟登录过程
            loginBtn.innerHTML = '<i class="fas fa-spinner fa-spin"></i> 验证中...';
            loginBtn.disabled = true;

            setTimeout(() => {
                loginBtn.innerHTML = '确认';
                loginBtn.disabled = false;
                alert('登录成功！正在进入系统...');
                // 这里可以添加页面跳转
            }, 1500);
        });
    });
</script>
</body>
</html>
